
#include <BStyle>
#include "member_BStripeItem.h"
#include "member_BGraphicWidget.h"
#include "member_BStyle.h"
#include "IGlobal.h"

using namespace BWE;

member_BStripeItem::member_BStripeItem(BStripeItem* labelItem)
{
	boss = labelItem;
	dirty = true;
	lineWidth = 1.0f;
	lineColor.set(0, 0, 0, 255);
}
member_BStripeItem::~member_BStripeItem()
{

}

void member_BStripeItem::freshSize()
{
	pointArea.reset();
	if (points.size())
	{
		for (int i = 0; i < points.size(); i++)
		{
			const BPointf& point = points[i];
			pointArea.expand(point);
		}
	}
}
